
#define XL_1	10
#define XL_2	30
#define XL_3	90
#define XL_4	150
#define XL_5	320
#define XL_6	700
#define XL_7	2000
#define XL_8	5000
#define XL_9	13000


class PLAYER: public ENTITY
{
private:
	int strength;
	int intelligence;
	int level;
	WEAPON weapon;
	ARMOR armor;
	POTION* potionlist[15];
	SPELL* spelllist[10];
public:
	PLAYER();
	void SetStrength(int newstr);
	int GetStrength();
	void SetIntelligence(int newint);
	int GetIntelligence();
	void SetLevel(int newlevel);
	int GetLevel();

	WEAPON* GetWeapon();
	void SetWeapon(WEAPON weapon);
	ARMOR* GetArmor();
	void SetArmor(ARMOR armor);

	void AddPotion(POTION* potion);
	POTION** GetPotionList();

	void AddSpell(SPELL* newspell);
	SPELL** GetSpellList();

	void CheckForLevelUp();
};
